<?php foreach ($entries as $e):?>
	<a href="<?php echo '/MVC/main/article/'.$e['entry_id']; ?>">
		<h1><?php echo $e['title'] ?>
			<span class="date"> <?php echo $e["last_modified"]; ?></span>
		</h1>	
	</a>
	<p class="indexcontent"><?php echo $e['body'] ?></p>
<?php endforeach ?>
<?php echo $page_link;?>